﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gao.Poker.Domain
{
    /// <summary>
    /// 短信发送记录表
    /// </summary>
    public class SendSms
    {
        public SendSms()
        {
            CreateDate = DateTime.Now;
            SendSmsMembers = new List<SendSmsMember>();
        }

        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 关联用户编号 有则关联
        /// </summary>
        public int F_UserId { get; set; }
        /// <summary>
        /// 发送短信内容
        /// </summary>
        [StringLength(210)]
        public string SendContent { get; set; }
        /// <summary>
        /// 后缀
        /// </summary>
        [StringLength(210)]
        public String Suffix { get; set; }
        /// <summary>
        /// 发送状态 0成功 1失败 
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        public virtual List<SendSmsMember> SendSmsMembers { get; set; }
    }
}
